package com.example.tome.component_router.retrofit;

import com.example.tome.component_router.retrofit.bean.BaseObj;
import com.example.tome.component_router.retrofit.bean.LoginBean;
import com.example.tome.component_router.retrofit.bean.LoginResponse;
import com.example.tome.component_router.retrofit.params.LoginParams;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * @Created by TOME .
 * @时间 2018/5/3 16:59
 * @描述 ${TODO}
 */

public interface URLApis {

    String BASE_URL = "http://testopen.d2shop.com/api/";//测试

    /**
     * 登录
     *
     */
    @FormUrlEncoded
    @POST("register/login")
    Observable<LoginResponse> getFeedArticleList(@Body LoginParams params);
}
